<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shops_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shops_id" data-rule="required" min="0" data-source="shops/index" class="form-control selectpage" name="row[shops_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_no')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_no" data-rule="required" class="form-control" name="row[order_no]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_id" data-rule="required" data-source="goods/index" class="form-control selectpage" name="row[goods_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goodssku_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goodssku_id" data-rule="required" data-source="goodssku/index" class="form-control selectpage" name="row[goodssku_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_amount" data-rule="required" class="form-control" step="0.01" name="row[order_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Quantity')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-quantity" data-rule="required" class="form-control" name="row[quantity]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tk_discount_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tk_discount_amount" data-rule="required" class="form-control" step="0.01" name="row[tk_discount_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_transport_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer_transport_fee" data-rule="required" class="form-control" step="0.01" name="row[customer_transport_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tk_transport_fee_discount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tk_transport_fee_discount" data-rule="required" class="form-control" step="0.01" name="row[tk_transport_fee_discount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shop_discount_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shop_discount_amount" data-rule="required" class="form-control" step="0.01" name="row[shop_discount_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Actual_order_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-actual_order_amount" data-rule="required" class="form-control" step="0.01" name="row[actual_order_amount]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[order_create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_status" data-rule="required" class="form-control" name="row[order_status]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Refund_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-refund_amount" data-rule="required" class="form-control" name="row[refund_amount]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipping_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shipping_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[shipping_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delivered_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delivered_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[delivered_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shipping_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-shipping_type" data-rule="required" class="form-control selectpicker" name="row[shipping_type]">
                {foreach name="shippingTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="1"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_cost')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_cost" data-rule="required" class="form-control" step="0.01" name="row[goods_cost]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Extra_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-extra_fee" data-rule="required" class="form-control" step="0.01" name="row[extra_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tk_handle_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tk_handle_fee" data-rule="required" class="form-control" step="0.01" name="row[tk_handle_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tk_commission_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tk_commission_fee" data-rule="required" class="form-control" step="0.01" name="row[tk_commission_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Added_value_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-added_value_fee" data-rule="required" class="form-control" step="0.01" name="row[added_value_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Tariff_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-tariff_fee" data-rule="required" class="form-control" step="0.01" name="row[tariff_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sfp_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sfp_fee" data-rule="required" class="form-control" step="0.01" name="row[sfp_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bonus_cash_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-bonus_cash_fee" data-rule="required" class="form-control" step="0.01" name="row[bonus_cash_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Super_coupon_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-super_coupon_fee" data-rule="required" class="form-control" step="0.01" name="row[super_coupon_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Affiliate_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-affiliate_fee" data-rule="required" class="form-control" step="0.01" name="row[affiliate_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('China_shipping_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-china_shipping_fee" data-rule="required" class="form-control" step="0.01" name="row[china_shipping_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Oversea_shipping_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-oversea_shipping_fee" data-rule="required" class="form-control" step="0.01" name="row[oversea_shipping_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Oversea_pack_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-oversea_pack_fee" data-rule="required" class="form-control" step="0.01" name="row[oversea_pack_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Oversea_extra_fee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-oversea_extra_fee" data-rule="required" class="form-control" step="0.01" name="row[oversea_extra_fee]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Estimated_profit')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-estimated_profit" data-rule="required" class="form-control" step="0.01" name="row[estimated_profit]" type="number" value="0.00">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
